package cn.gson.school.conmmon;

import lombok.Data;

@SuppressWarnings("unused")
@Data
public class Menu {

	private Long id;

	private String text;

	private String state = "open";

	private Long parentId;

	private String href;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", text=" + text + ", state=" + state + ", parentId=" + parentId + ", href=" + href
				+ "]";
	}

	public Menu() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
